import request from '@/utils/request'

const apiName = "/system/sys-user"

export default {
  getUserList: pageParam => request({
    url: `${apiName}/list`,
    method: 'Get',
    params: pageParam
  }),

  add: userInfo => request({
    url: `${apiName}/add`,
    method: 'Post',
    data: userInfo
  }),

  getStudentList: sex => request({
    url: `${apiName}/studentList`,
    method: 'Get',
    params: sex
  }),
}
